Multi-line Session Input

The Session allows multi-line input. This feature is optional and is controlled by the value of the Dyalog_LineEditor_Mode parameter which by default is 0 (off). To enable the new behaviour, you must set the parameter to 1.

See Dyalog_LineEditor_Mode

On Windows Multi-line input can be enabled and disabled via the checkbox on the Session tab of the configuration parameter: see Dyalog_LineEditor_Mode.

When Multi-line Input is Enabled:

Multi-line input can be terminated by correctly terminating the input. For example, if you started a block of multi-line input with a { character, then a matching and similarly nested } character terminates it. Similarly, if you started a block of multi-line input with :If then a matching and similarly nested :EndIf terminates it. Issuing a weak interrupt aborts the multi-line input and all changes are lost.